package cn.sharp.bbs.service;

import cn.sharp.bbs.event.*;
import org.springframework.context.event.EventListener;

/**
 * 消息推送服务
 * @author zhao yu
 */
public interface MsgPushService {

    void commentNotify(CommentEvent commentEvent);

    void replyNotify(ReplyEvent replyEvent);

    void commentLikeNotify(CommentLikeEvent commentLikeEvent);

    void postLikeNotify(PostLikeEvent postLikeEvent);

    void postCheckNotify(PostCheckEvent postCheckEvent);

    void collectNotify(CollectEvent collectEvent);

    void followNotify(FollowEvent followEvent);

    void reportPassNotify(ReportPassEvent reportPassEvent);

    void reportRejectNotify(ReportRejectEvent reportRejectEvent);

    @EventListener
    void letterNotify(LetterEvent letterEvent);

    void testPush(Long id);
}
